<template>
    <div class="answer">
        <Ope
            :ifNew="true"
            newFun="refresh"
            @refresh="refresh"
        ></Ope>
        <Table
            @edit="edit"
            @del="del"
        ></Table>
        <Dialog
            ref="dialog"
        ></Dialog>
        <dialog-add
            ref="dialogAdd"
        ></dialog-add>
    </div>
</template>

<script>
import Table from './Table'
import Ope from 'template/Ope'
import Dialog from './Dialog'
import DialogAdd from './DialogAdd'
import methods from './methods.js'


export default {
    components: {
        Table,
        Ope,
        Dialog,
        DialogAdd
    },
    name: 'Answer',
    methods: methods
}
</script>

<style lang="stylus" scoped>
    .answer
        width 100%
        height 100%
</style>



